from fastapi import FastAPI
from .user import user_router,role_router, power_router

def create_router(app: FastAPI):
    """初始化api路由
    """
    app.include_router(user_router, prefix="/user")
    app.include_router(role_router, prefix="/role")
    app.include_router(power_router, prefix="/power")